﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DataAccess;
namespace SQT.tracnghiem.Ajax.ASP.Lesson
{
    public partial class add_talk_content : System.Web.UI.Page
    {
        public int last;
        public string people, content, sub;
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = int.Parse(Request.QueryString["id"]);
            people = Request.QueryString["people"];
            content = Request.QueryString["content"];
            sub = Request.QueryString["sub"];

            //new TblLessonTalkingContentController().Insert(id, people, content, sub);
            var get_last= new TblLessonTalkingContentController().FetchAll().Last();
            last = get_last.TalkCtId;
        }
    }
}